<?php
/**
 * Created by litong on Date: 2019/4/10 0010 下午 6:27
 */
function __autoload($classname){
  $filename = "./". $classname .".class.php";
  echo $filename.PHP_EOL;
  include_once($filename);
}

$obj=new MyClass();